package com.sls.game.dao;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.bnsales.BnSales;

public interface BNSalesDAO {

	/**
	 * 插入信息
	 * 
	 * @param bnsales
	 */
	public void insert(BnSales bnsales);

	/**
	 * 修改
	 * 
	 * @param bnsales
	 */
	public void update(BnSales bnsales);

	/**
	 * 根据商品编号查询
	 * 
	 * @param goodsId
	 * @return
	 */
	public BnSales queryByGoodsId(String goodsId);

	/**
	 * 分页查询
	 * 
	 * @param bnsales
	 * @return
	 */
	public Pagination<BnSales> queryPage(BnSales bnsales);

}
